package com.ftg.learn.Mapper;


import com.ftg.learn.Pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface DemoMapper {

@Select("select * from dept")
    List<Dept> showall();
}
